﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///支付宝支付配置表，非连续付费
    ///</summary>
    [SugarTable("TAliPayMethod")]
    public partial class TAliPayMethod
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 产品编号
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 支付宝定义的产品编号
        /// </summary>           
        [SugarColumn(ColumnName="AppId")]
        public string AppId {get;set;}
        /// <summary>
        /// 商家私钥
        /// </summary>           
        [SugarColumn(ColumnName="AppPrivateKey")]
        public string AppPrivateKey {get;set;}
        /// <summary>
        /// 支付宝公钥
        /// </summary>           
        [SugarColumn(ColumnName="AliPayPublicKey")]
        public string AliPayPublicKey {get;set;}
        /// <summary>
        /// 默认价格
        /// </summary>           
        [SugarColumn(ColumnName="Price")]
        public decimal Price {get;set;}
        /// <summary>
        /// 应用名称
        /// </summary>           
        [SugarColumn(ColumnName="AppName")]
        public string AppName {get;set;}
        /// <summary>
        /// 显示名称
        /// </summary>           
        [SugarColumn(ColumnName="DispalyName")]
        public string DispalyName {get;set;}
        /// <summary>
        /// 回调地址
        /// </summary>           
        [SugarColumn(ColumnName="CallBackAddress")]
        public string CallBackAddress {get;set;}
        /// <summary>
        /// 证书地址
        /// </summary>           
        [SugarColumn(ColumnName="CerPath")]
        public string CerPath {get;set;}
        /// <summary>
        /// 验证是否是有效请求，这个现在不需要用到
        /// </summary>           
        [SugarColumn(ColumnName="Md5")]
        public string Md5 {get;set;}
        /// <summary>
        /// 是否启用，1是启用
        /// </summary>           
        [SugarColumn(ColumnName="IsEnable")]
        public int IsEnable {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="CompanyName")]
        public string CompanyName {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="SellerEmail")]
        public string SellerEmail {get;set;}
    }
